package com.ruoyi.tcsp.domain.mongo;

import lombok.Data;
import nonapi.io.github.classgraph.json.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.List;
import java.util.Map;

@Data
@Document(collection = "scientific_info")
public class ScientificInfo {
    @Id
    private String id;
    //摘要信息
    @Field("summary_info")
    private String summaryInfo;
    //摘要图片
    @Field("summary_picture")
    private Map<String, List<String>> summaryPicture;
    @Field("pdf_url")
    private String pdfUrl;
    //权利要求
    @Field("claim")
    private String claim;
    //说明书
    @Field("specification")
    private String specification;

    public ScientificInfo() {
    }

    public ScientificInfo(String id, String summaryInfo, Map<String, List<String>> summaryPicture, String pdfUrl, String claim, String specification) {
        this.id = id;
        this.summaryInfo = summaryInfo;
        this.summaryPicture = summaryPicture;
        this.pdfUrl = pdfUrl;
        this.claim = claim;
        this.specification = specification;
    }
}
